<div id="menu">
	<ul class="menu-top">
		<li><a href="<?php echo site_url(); ?>">Trang Chủ</a></li>
		<?php if(is_array($aryMenu) && count($aryMenu) > 0) {
			foreach ($aryMenu[0] as $value) { ?>
				<li><a href="javascript:void(0);"><?php echo $value->name; ?></a>
					<?php if(isset($aryMenu[$value->id]) && count($aryMenu[$value->id]) > 0) { 
						echo '<ul class="menu-child">';
						foreach ($aryMenu[$value->id] as $v) { ?>
						<li><a href="<?php echo site_url('danhmuc') .'/'. $v->id .'-'. create_link($v->name); ?>"><?php echo $v->name; ?></a></li>
					<?php
						}
						echo '</ul>';
					}
					?>
				</li>	
			<?php	
			}
		}
		?>
		<li><a href="<?php echo site_url('lienhe'); ?>">Liên Hệ</a></li>
	</ul>
</div>